package com.iceframework.core.config;

import javax.annotation.Resource;
import javax.jms.ConnectionFactory;

import org.springframework.context.annotation.Bean;
import org.springframework.jms.core.JmsTemplate;

//@Configuration
public class ActiveMqConfig {
	
	@Resource
	private ConnectionFactory connectionFactory;

	@Bean
	public JmsTemplate jmsTemplate() {
		return new JmsTemplate(connectionFactory);
		
	}
}